#ifndef ISO_STATIC_H
#define ISO_STATIC_H

#include "iso_sprite.h"

class staticSprite : public sprite
{
protected:
    bn::fixed_rect collisionRect;
    bn::fixed_rect spriteRect;
    int spriteHeight;

public:
    staticSprite(const int posX, const int posY, const bn::sprite_item& spriteItem,
                 const int collisionWidth, const int collisionHeight, const int spriteHeight = {});
    ~staticSprite() = default;

    bn::fixed_rect getCollisionRect();
    bn::fixed_rect getSpriteRect();
    void setCollisionRect(const bn::fixed& x, const bn::fixed& y);

    int getSpriteHeight();

    void setX(const int x);
    void setY(const int y);

    void draw() override;
    void update() override;
};

#endif // ISO_STATIC_H
